﻿/**
* File: ITpmmessageService.cs
* Author: 汪杰
* Create Time:2025/5/8 9:07:53
* Email:15200358008@139.com
* 代码由TMCodeGenerator自动生成
**/
using JSLCloud.App.Models.Tpmmessage;
using JSLCloud.Models;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace JSLCloud.App.Mes.Service
{
    /// <summary>
    /// Tpmmessage Interface
    /// </summary>
    public interface ITpmmessageService 
    {
        /// <summary>
        /// 查询Tpmmessage数据
        /// </summary>
        /// <param name="requestObject">响应结果对象</param>
        /// <returns></returns>
        Task<ResponseObject<List<TpmmessageQueryModel>>> GetAsync(RequestGet requestObject,CurrentUser user);
        
        /// <summary>
        /// 新增Tpmmessage数据
        /// </summary>
        /// <param name="requestObject">响应结果对象</param>
        /// <returns></returns>
        Task<ResponseObject<bool>> PostAsync(RequestPost<TpmmessageAddModel> requestObject);
        
        /// <summary>
        /// 修改Tpmmessage数据
        /// </summary>
        /// <param name="requestObject">响应结果对象</param>
        /// <returns></returns>
        Task<ResponseObject<bool>> PutAsync(RequestPut<TpmmessageEditModel> requestObject);

        /// <summary>
        /// 修改Tpmmessage数据
        /// </summary>
        /// <param name="requestObject">响应结果对象</param>
        /// <returns></returns>
        Task<ResponseObject<bool>> ReadAsync(RequestPut<TpmmessageEditModel> requestObject);

        /// <summary>
        /// 删除Tpmmessage数据
        /// </summary>
        /// <param name="requestObject">响应结果对象</param>
        /// <returns></returns>
        Task<ResponseObject<bool>> DeleteAsync(RequestDelete<DeleteModel> requestObject);
        
    }
}